package weekMatch.two_105;

import java.util.Arrays;

public class LeeCode_01 {
    public static void main(String[] args) {

    }
    private static int buyChoco(int[] prices, int money) {
        Arrays.sort(prices);
        return money - prices[0] - prices[1] >= 0 ? money - prices[0] - prices[1] : money;
    }
}
